package com.ruoyi.project.ledger.mapper;

import java.util.List;
import com.ruoyi.project.ledger.domain.LedgerVehicleFactoryRegistration;
import org.springframework.stereotype.Repository;

/**
 * 治超管理台账Mapper接口
 *
 * @author gwc
 * @date 2020-04-15
 */
@Repository
public interface LedgerVehicleFactoryRegistrationMapper
{
    /**
     * 查询治超管理台账
     *
     * @param id 治超管理台账ID
     * @return 治超管理台账
     */
    public LedgerVehicleFactoryRegistration selectLedgerVehicleFactoryRegistrationById(Long id);

    /**
     * 查询治超管理台账列表
     *
     * @param ledgerVehicleFactoryRegistration 治超管理台账
     * @return 治超管理台账集合
     */
    public List<LedgerVehicleFactoryRegistration> selectLedgerVehicleFactoryRegistrationList(LedgerVehicleFactoryRegistration ledgerVehicleFactoryRegistration);

    /**
     * 新增治超管理台账
     *
     * @param ledgerVehicleFactoryRegistration 治超管理台账
     * @return 结果
     */
    public int insertLedgerVehicleFactoryRegistration(LedgerVehicleFactoryRegistration ledgerVehicleFactoryRegistration);

    /**
     * 修改治超管理台账
     *
     * @param ledgerVehicleFactoryRegistration 治超管理台账
     * @return 结果
     */
    public int updateLedgerVehicleFactoryRegistration(LedgerVehicleFactoryRegistration ledgerVehicleFactoryRegistration);

    /**
     * 删除治超管理台账
     *
     * @param id 治超管理台账ID
     * @return 结果
     */
    public int deleteLedgerVehicleFactoryRegistrationById(Long id);

    /**
     * 批量删除治超管理台账
     *
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteLedgerVehicleFactoryRegistrationByIds(Long[] ids);
}
